Skip to content

Conversation

@chauhanaman41
Copy link

Updated the SingletonBase metaclass in patcher.py to ensure safe singleton creation across threads and processes
Added per-class locks for thread safety
Implemented double-checked locking for performance
Added PID tracking for fork safety
Prevents race conditions and segmentation faults during parallel execution
Improves stability and concurrency safety without breaking existing functionality

@kdemmich
Copy link
Collaborator

Hi, thank you for your interest in contributing to our WRT! I would like to point you to our guidelines for software contributions which require to follow 52 North's CLA guidelines for all PRs and, in particular, fill the 52°North Contributor License Agreement. As long as this has not been filled, I can not assign you to any issues or merge any PRs. Please don't hesitate to contact me in case of related questions.

@kdemmich kdemmich added the question Further information is requested label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants